import 'package:dio/dio.dart';
import 'package:wan_android/model/home/home_article_type.dart';
import 'package:wan_android/model/home/home_banner_type.dart';
import 'package:wan_android/utils/request.dart';

// 首页 - banner
getBannerList() async {
  var response = await Request().request('/banner/json');
  return response;
}

// 首页 - 列表
getArticleList(int page) async {
  var response = await Request().request('/article/list/$page/json');
  return response;
}